﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="LeaveRequest-Detail.aspx.cs" Inherits="SmartSpace.WebApp.Modules.OA.Pages.LeaveRequest_Detail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
    <style>
        table.ss-bill {
            width:100%;
            background:black;
            border-top:1px solid black;
            border-left:1px solid black;
        }
            table.ss-bill td {
                background-color:white;
                border-bottom:1px solid black;
                border-right:1px solid black;
                padding:10px;
            }
        p {
            text-indent:2em;
        }
    </style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server">
        <asp:FormView ID="_ctlForm" runat="server" Width="100%">
            <ItemTemplate>
                <table style="width:100%;">
                    <tr>
                        <td colspan="3" style="text-align:center;">
                            <h1>请假单</h1>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" style="text-align:right;">
                            日期：<%# Eval("CreatedDate","{0:yyyy年MM月dd日}") %>
                        </td>
                    </tr>
                </table>
                <table class="ss-bill">
                    <tr>
                        <td style="width:10%;">
                            请假人
                        </td>
                        <td style="width:23%;">
                            <asp:Label ID="_ctlEditCreator" ReadOnly="true" runat="server" Text='<%# Eval("CreatorName") %>' />
                        </td>
                        <td style="width:10%;">
                            职务
                        </td>
                        <td style="width:23%;">
                            &nbsp;
                        </td>
                        <td style="width:10%;">
                            部门
                        </td>
                        <td style="width:23%;">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            请假类型
                            <p>
                                <asp:Label ID="_ctlEditType" ReadOnly="true" runat="server" Text='<%# Eval("TypeCaption") %>' />
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            请假事由
                            <p>
                                <asp:Label ID="_ctlEditDescription" ReadOnly="true" runat="server" Text='<%# Eval("Description") %>' />
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6">
                            请假时间
                            <p>
                            自&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="_ctlEditStartDate" ReadOnly="true" runat="server" Text='<%# Eval("StartTime","{0:yyyy年MM月dd日}") %>' />
                            &nbsp;&nbsp;&nbsp;&nbsp;
                                至&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="_ctlEditEndDate" ReadOnly="true" runat="server" Text='<%# Eval("EndTime","{0:yyyy年MM月dd日}") %>' />
                            </p>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:FormView>
</asp:Content>
